//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<blenhding_10.h>
///	@path	~/xeres.engine/res/fx/include/
///	@date	2008/09/25
///	@desc	Blending definitions.

#ifdef D3D10

/*!
	\brief	A blend state that indicates no blending.	
*/
BlendState NoBlending
{ 
	AlphaToCoverageEnable = False;
    BlendEnable[0] = False;
};

/*!
	\brief	Blending state that has regular alpha blending settings.
*/
BlendState RegularBlending
{
    BlendEnable[0] = True;
	SrcBlend = SRC_ALPHA;
	DestBlend = INV_SRC_ALPHA;
	BlendOp = ADD;
	SrcBlendAlpha = ONE;
	DestBlendAlpha = INV_SRC_ALPHA;
	BlendOpAlpha = ADD;
	RenderTargetWriteMask[0] = 0xf;
};

#endif
